package com.anxin.service;

import com.anxin.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface DepartmentService extends IService<Department> {
    /**
     * 获取科室树形结构
     */
    List<Department> getDepartmentTree();
    
    /**
     * 获取子科室列表
     */
    List<Department> getChildrenDepartments(String parentId);
    
    /**
     * 更新科室状态
     */
    void updateDepartmentStatus(String departmentId, Integer status);
} 